<?php
function Obtener_Conexion(){
	require('morsa.inc'); 
	$conexion=pg_connect("host=$DB_SERVER dbname=$DB user=$DB_LOGIN password=$DB_PASS") or die ("No pudo conectar con $DB en $DB_SERVER "  );
	return $conexion ;
}

function Desconectar($conexion){
	pg_close($conexion);
}
?>
